package com.market.service.admin;

import com.market.bean.MarketStorage;
import com.market.bean.common.BasePageInfo;
import com.market.bean.common.CommonData;
import com.market.bean.vo.admin.AdminStorageCreateVo;
import org.springframework.web.multipart.MultipartFile;

public interface AdminStorageService {

    AdminStorageCreateVo create(MultipartFile file);

    CommonData<MarketStorage> list(BasePageInfo basePageInfo, String key, String name);

    MarketStorage update(MarketStorage storage);

    MarketStorage delete(MarketStorage storage);

}
